package com.logos.ruralrevitalization.constant;

public class RedisConstant {


    // 用户登录
    public static final String USER_LOGIN_KEY = "user:login:";

    // 验证码
    public static final String CAPTCHA_CODE = "captcha:code:";

    // 商品热门排行榜
    public static final String PRODUCT_HOT_RANK = "product:hot:rank";

    // 景点热门排行榜
    public static final String TOURIST_ATTRACTIONS_HOT_RANK = "tourist:attractions:hot:rank";

    // 下单分布式锁
    public static final String ORDER_LOCK = "order:lock:";

    // 游客首页轮播图
    public static final String TOURIST_BANNER = "tourist:banner";

    public static final String PRODUCT_HOME = "product:home";
    public static final String TOURIST_ATTRACTIONS_HOME = "tourist:attractions:home";
    public static final String RURAL_SHOW = "rural:show:";
    public static final String RURAL_SHOW_ORDER = "rural:show:order:";

    public final static String USER_PREFIX = "chat:user:";
    public final static String RURAL_PREFIX = "chat:rural:";

    public final static String USER_CHAT_HISTORY_KEY_PREFIX = "chat:history:user:";
    public final static String RURAL_CHAT_HISTORY_KEY_PREFIX = "chat:history:rural:";

}
